<?php

require './system/common.php';
require './app/Lib/tuan_init.php';
$api_class = trim(addslashes($_REQUEST['c']));
if(file_exists(APP_ROOT_PATH.'system/api_login/'.$api_class.'_api.php'))
{
$api = $GLOBALS['db']->getRow('select * from '.DB_PREFIX."api_login where class_name='".$api_class."'");
require_once APP_ROOT_PATH.'system/api_login/'.$api_class.'_api.php';
$api_class = $api['class_name'].'_api';
$api_obj = new $api_class($api);
$api_obj->callback();
}

?>